package com.javabi.boardgame.model.board;

import java.util.List;

import com.javabi.boardgame.model.IPiece;

/**
 * A game board, consisting of locations for pieces.
 * @param <L> the location type.
 * @param <P> the piece type.
 */
public interface IBoard<L extends ILocation, P extends IPiece> {

	List<L> getLocationList();

	P getPiece(L location);

	void setPiece(L location, P piece);

	P removePiece(L location);

}
